<extend name="Public/base"/>
		<block name="content">
<!DOCTYPE HTML>
<html>
	 <head>
		 <meta http-equiv="content-type" content="text/html;charset=utf-8">
		 <title> New Document </title>
		 <link rel="stylesheet" href="__ORDER__/css/global-min.css">
		 <link rel="stylesheet" href="__ORDER__/css/common-min.css">
		 <link rel="stylesheet" href="__ORDER__/css/index-min.css">
		 <style>
		.msg{background-color:#1C86EE;width:200px;height:30px;position:absolute;left:50%;margin-left:-100px;border-radius:8px;display:none;color:white}
		</style>
	 </head>
	 <body>
	 <div class="msg" align="center"></div>
	<div id="page">
		<div id="content">
			<ol class="tb-rate-nav-steps">
				<li class="done"><span class="first">1. 确认订单信息</span></li>
				<li class="done"><span>2. 付款到支付宝</span></li>
				<li class="done current-prev"><span>3. 确认收货</span></li>
				<li class="last-current"><strong>4. 评价</strong></li>
			</ol>
			<div class="tb-rate-eula-drop">
				<div class="tb-rate-hover-drop">
					<a href="javascript:;" class="tb-rate-ico-bg ico-help">评价须知</a>
					<div class="dropping">
						<div class="tb-rate-eula">
							<h3>评价须知（2009-2-15开始实行）：</h3>
								<p>请您根据本次交易，给予真实、客观、仔细地评价。您的评价将是其他会员的参考，也将影响卖家的信用。</p>
								<p><strong>动态店铺评分计分规则：</strong>店铺评分是匿名的。每个自然月中，相同买家和卖家之间的店铺评分计分次数不超过3次。店铺评分成功后无法修改。</p>
						</div>
					</div>
				</div>
			</div>
			<div class="shopdetail tb-rate-mb-m">
				<div class="hd"><h3>店铺信息</h3></div>
				<div class="bd">
					<a class="shop-logo"><img width="70" height="70" src="__ORDER__/img/T1tGSUXjpnXXXXXXXX-70-70.png"></a>
					<dl>
						<dt>
							<h3><a href="" target="_blank"> 龙翔通讯专营店</a></h3>
						</dt>
						<dd>被评卖家：<a class="remark-to" href="">龙翔通讯专营店</a></dd>
							<dd>宝贝与描述相符：<span class="c-value-no c-value-4d9"><em></em></span>4.9分</dd>
					</dl>
				</div>
			</div>
			<input type="hidden" name="shu" id="shu" value="<{$shu}>">
			
		<div class="itemlist tb-rate-mb-m" style="border: 1px solid #DDD;">
			<div class="listhd"><h3>店铺动态评分</h3>
				<ul class="act"><li><input type="checkbox" id="annoy-all" name="annoy-all"><label for="annoy-all">全部匿名评论</label></li>
				</ul>
			</div>

			<div class="listbd">
				<form id="rateListForm"  action="<{:U('docomment')}>" name="addfeedback" method="post">
				<foreach name="res" item="v">
			    <?php foreach(json_decode($v["pro"],true) as $vv){?>
				<input type="hidden" name="pid[]" id="pid" value="<{$vv.pid}>">
				<input type="hidden" name="ordid" id="ordid" value="<{$v.ordid}>">
				<input type="hidden" name="color" id="color" value="<{$v.color}>">
				<input type="hidden" name="size" id="size" value="<{$v.size}>">
				<input type="hidden" name="tc" id="tc" value="<{$v.goods_tc}>">
					<ul class="labels">
						<li class="itemdetail">宝贝</li>
						<li class="level">宝贝与描述相符<span class="exp">(打分匿名)</span></li>
					</ul>
					<ul class="rate-list">
						<li data-id="2303829829929903" class="rate-box st-show-msg-box" data-prompt="亲，充值到账时间是否快速？多少时间内到账？交易是否安全？">
						<div class="item-rate-info" data-spm="1000328">
							<div class="item-detail">												<a class="item-d-img" href="" target="_blank">
								<img width="60" height="60" src="__PUBLIC__/Uploads/"></a><h3>
								<a href="" target="_blank"><{$vv.goods_name}>&nbsp;<{$vv.goods_desc}></a></h3><p></p>
							</div>
							<div class="item-rate-score"><span class="dsr-score"></span></div>
						</div>
						<div class="item-rate-main">
							<div class="item-rate-act">
								<span data-type="match" class="rate-stars" style="position: absolute; left: -9999px;">
								<label><input type="radio" value="1" name="dsrmatch2303829829929903" title="很不满意，差得太离谱，与卖家描述的严重不符，非常不满">一星</label>
								<label><input type="radio" value="2" name="dsrmatch2303829829929903" title="不满意，部分有破损，与卖家描述的不符，不满意">二星</label>
								<label><input type="radio" value="3" name="dsrmatch2303829829929903" title="一般，质量一般，没有卖家描述的那么好">三星</label>
								<label><input type="radio" value="4" name="dsrmatch2303829829929903" title="满意，质量不错，与卖家描述的基本一致，还是挺满意的">四星</label>
								<label><input type="radio" value="5" name="dsrmatch2303829829929903" title="很满意，质量非常好，与卖家描述的完全一致，非常满意">五星 </label></span><span class="ks-simplestar"><img src="__ORDER__/img/T1j_SkXl0fXXXXXXXX-19-19.png"><img src="__ORDER__/img/T1j_SkXl0fXXXXXXXX-19-19.png"><img src="__ORDER__/img/T1j_SkXl0fXXXXXXXX-19-19.png"><img src="__ORDER__/img/T1j_SkXl0fXXXXXXXX-19-19.png"><img src="__ORDER__/img/T1j_SkXl0fXXXXXXXX-19-19.png"></span>
								
								<div class="rate-msg-handle">
									<button type="button" class="J_show_comment tb-rate-btn special-link" style="display: none;"><i class="tb-rate-ico-bg ico-bubble"></i><span class="J_txt">添加评论</span></button>
								</div>
							</div>
							<div class="rate-msg-box" style="display: block;">
								<div class="bd">
									<div class="textinput">
										<span class="ph-label"></span>
										<textarea name="rateContents[<{$vv.pid}>]" id="rateContents" maxlength="" aria-labelby="label-ti-<{$vv.id}>" class="rate-msg"></textarea>
										<p class="text-counter">还可以输入<strong class="r-t-counter">500</strong>字</p>
									</div>
								</div>
							<div class="ft">
								<button type="button" class="close-msg-box">收起评论</button>
								<ul class="rate-msg-option">										<li>
										<select class="privacy-control" name="anony2303829829929903" id="anony2303829829929903" disabled="">
											<option value="" selected="">公开评论</option>
											<option value="1">匿名评论</option>
										</select>
									</li>
								</ul>
							</div>
						</div>
					</div>
				</li>
			</ul>
			<?php }?>
			</foreach>
			<div class="submitbox">
				<button type="submit" class="J_btn_submit tb-rate-btn type-primary wide-xxl" id="docomment">发表评论</button>
			</div><input type="hidden" name="ua" id="UA_InputId" value="">
		</form>
	</div>
</div>

	<div class="tb-rate-ico-bg ico-feedback tb-rate-mt-l" style="clear: both;">	
		对“评价功能”有建议或意见，<a href="" target="_blank">跟ZOL说两句</a>
	</div>				
	</div>
</div>

	<script>
/*
	$("#docomment").click(function(){
		//var pid = new Array();
		//var content = new Array();
		$("#pid").each(function(){   //所有为checked状态的多选框   
			pid.push(this.value);  
		});

		$("#rateContents").each(function(){   //所有为checked状态的多选框   
			content.push(this.text);  
		});
		//var pid = $("#pid").val();
		var shu = $("#shu").val();
		console.log(pid);
		//var id = $(this).attr("data-id");
		//var content = $("#rateContents").val();
		console.log(content);
		$.post("<{:U('docoment')}>",{shu:shu,pid:pid,content:content},function(data){
			if(data.status){				
				$('.msg').text(data.msg);
				$('.msg').slideDown('fast');
				setTimeout(function(){$('.msg').slideUp('fast');},1600);
			}
		},'json');
	});
	*/	
	</script>

</body>
</html>
</block>
